<template>
  <div class="home">
    <div class="top">
      <div class="name">项目名称：{{ projectName }}</div>
      <div class="money">投资额 (万):<span>800万</span></div>
      <div>项目类型：<span>省4+1</span></div>
      <div>建设单位：<span>教育局</span></div>
      <div>项目地址：<span>绍兴市越城区</span></div>
      <div>计划开工时间：<span>2022-02-10</span></div>
      <div>计划完工时间：<span>2023-12-10</span></div>
      <div>建设规模：<span></span></div>
    </div>
    <div class="center">
      <div class="main main1">项目验收</div>
      <div class="main main2">项目问题</div>
      <div class="main main3">项目立项阶段</div>
      <div class="main main4">项目谋划</div>
      <div class="main main5">建设实施</div>
      <div class="main main6">施工许可阶段</div>
      <div class="main main7">规划许可阶段</div>
      <div class="branch b1">综合验收</div>
      <div class="branch b2">
        <span class="red iconfont icon-yujing"></span> 单项验收
      </div>
      <div class="branch b3">问题办结</div>
      <div class="branch b4">
        <span class="red iconfont icon-yujing"></span>问题反馈
      </div>
      <div class="branch b5">问题交办</div>
      <div class="branch b6">问题提交</div>
      <div class="branch b7">项目建议书</div>
      <div class="branch b8">可行性报告</div>
      <div class="branch b9">意见审核</div>
      <div class="branch b10">
        <span class="orange iconfont icon-yujing"></span>项目审核
      </div>
      <div class="branch b11">项目申报</div>
      <div class="branch b12">部门联审</div>
      <div class="branch b13">决策准入</div>
      <div class="branch b14">综合验收</div>
      <div class="branch b15">项目开工</div>
      <div class="branch b16">进度预警</div>
      <div class="branch b17">综合验收</div>
      <div class="branch b18">
        <span class="yellow iconfont icon-yujing"></span> 项目完工
      </div>
      <div class="branch b19">建设工程消费设计审查</div>
      <div class="branch b20">人防工程建设</div>
      <div class="branch b21">工程施工许可证</div>
      <div class="branch b22">施工图审查</div>
      <div class="branch b23">初步设计及批查</div>
      <div class="branch b24">工程规划许可证</div>
      <div class="branch b25">节点预警</div>
    </div>
    <div class="bottom">投资完成率: <span>32%</span></div>
  </div>
</template>

<script>
// @ is an alias to /src

export default {
  name: 'HomeView',
  components: {},
  props: {
    projectName: {
      type: String,
      default: ''
    }
  }
};
</script>
<style lang="less" scoped>
@import url('@/assets/fonts/iconfont.css');
.home {
  .top {
    width: 1200px;
    height: 100px;
    margin: 0 auto;
    div {
      width: 220px;
      height: 40px;
      margin-top: 20px;
      float: left;
      font-size: 16px;
      font-weight: bold;
      span {
        color: #6480e3;
      }
    }
  }
  .center {
    width: 1200px;
    height: 500px;
    margin: 0px auto;
    margin-top: 30px;
    background: url('@/assets/images/yugu.jpg') no-repeat center;
    background-size: contain;
    position: relative;
    .main {
      position: absolute;
      font-size: 18px;
      font-weight: bold;
      color: aquamarine;
    }
    .main1 {
      top: 20px;
      left: 70px;
    }
    .main2 {
      top: 30px;
      left: 327px;
    }
    .main3 {
      top: 30px;
      left: 555px;
    }
    .main4 {
      top: 30px;
      right: 294px;
    }
    .main5 {
      bottom: 45px;
      left: 140px;
    }
    .main6 {
      bottom: 12px;
      left: 432px;
    }
    .main7 {
      bottom: 35px;
      left: 704px;
    }
    .branch {
      position: absolute;
      font-size: 14px;
      font-weight: bold;
      .red {
        color: red;
      }
      .orange {
        color: #f56100;
      }
      .yellow {
        color: #fbed00;
      }
    }
    .b1 {
      top: 132px;
      left: 110px;
    }
    .b2 {
      top: 67px;
      left: 184px;
    }
    .b3 {
      top: 75px;
      left: 310px;
    }
    .b4 {
      top: 147px;
      left: 370px;
    }
    .b5 {
      top: 80px;
      left: 434px;
    }
    .b6 {
      top: 148px;
      left: 494px;
    }
    .b7 {
      top: 112px;
      left: 580px;
    }
    .b8 {
      top: 69px;
      left: 713px;
    }
    .b9 {
      top: 180px;
      left: 642px;
    }
    .b10 {
      top: 148px;
      left: 743px;
    }
    .b11 {
      top: 113px;
      right: 361px;
    }
    .b12 {
      top: 132px;
      right: 148px;
    }
    .b13 {
      top: 80px;
      right: 198px;
    }
    .b14 {
      top: 176px;
      right: 302px;
    }
    .b15 {
      bottom: 80px;
      left: 102px;
    }
    .b16 {
      bottom: 168px;
      left: 136px;
    }
    .b17 {
      bottom: 81px;
      left: 245px;
    }
    .b18 {
      bottom: 155px;
      left: 304px;
    }
    .b19 {
      bottom: 37px;
      left: 338px;
    }
    .b20 {
      bottom: 34px;
      left: 562px;
    }
    .b21 {
      left: 418px;
      bottom: 224px;
    }
    .b22 {
      bottom: 108px;
      left: 601px;
    }
    .b23 {
      bottom: 112px;
      right: 233px;
    }
    .b24 {
      bottom: 79px;
      right: 308px;
    }
    .b25 {
      bottom: 117px;
      right: 412px;
    }
  }
  .bottom {
    width: 1200px;
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
    font-weight: bold;
    span {
      color: #6480e3;
    }
  }
}
</style>
